import mock from '../index'
import {allShopList}from './data/shopList-data'
/**
 * 获取商铺详细信息
 */
mock.Mock(/shop-detail\/[0-9]*$/,'get',(options)=>{
  const id = options.url.match(/[0-9]*$/)
  for(const item of allShopList){
    if(item.id==id){
      return item
    }
  }
})